package cn.wolfcode.p2p.bussness.service;


import cn.wolfcode.p2p.bussness.domain.BidRequest;
import cn.wolfcode.p2p.bussness.domain.BidRequestAuditHistory;

import java.util.List;

public interface IBidRequestAuditHistoryService {
    void save(BidRequestAuditHistory h);
    /**
     * 创建审核历史对象
     * @param br
     * @param remark
     * @param state
     */
    void createHistory(BidRequest br, String remark, Integer state);

    /**
     * 根据bidRequestId查询该借款的审核历史集合
     * @param bidRequestId
     * @return
     */
    List<BidRequestAuditHistory> queryListByBidRequestId(Long bidRequestId);
}
